/*
 * @Author: your name
 * @Date: 2021-11-11 10:55:38
 * @LastEditTime: 2021-11-11 11:07:05
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: /a1902-apractical2/vite-project/src/store/index.js
 */
// redux 仓库
import {createStore, applyMiddleware} from 'redux'
import reducer from './reducer';
import thunk from 'redux-thunk'
// 创建仓库

const store = createStore(reducer, applyMiddleware(thunk));

export default store;